//秒转分秒
export function s_to_hs(s) {
  var h;
  h = Math.floor(s / 60);
  s = s % 60;
  h += '';
  s += '';
  h = (h.length == 1) ? '0' + h : h;
  s = (s.length == 1) ? '0' + s : s;
  if (isNaN(h)) {
    return "&infin;"
  }
  return h + ':' + s;
};
